﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Manage/Manager.Master" AutoEventWireup="true"
    CodeBehind="DetailManage.aspx.cs" Inherits="Enterprise.UI.Web.Manage.WorkFlow.DetailManage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link type="text/css" rel="Stylesheet" href="../Common/style/pms.css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="hbNav">
        <div id="navLeft">
            OA系统<span class="hbdot">&raquo;</span>流程名称<span class="hbdot">&raquo;</span><asp:Label
                ID="lb_Name1" runat="server"></asp:Label></div>
        <div id="navRight">
            <span class="hbmenu"><a href="DetailManage_Manage.aspx?Id=<%=Id %>&Cmd=New&qMID=112&qMby=9&qVID=1&qWin=&qCID=0">
                <img src="../Common/img/docadd.gif" border="0" align="absmiddle">
                新建</a> </span>| <a href="javascript:window.close()">
                    <img src="../Common/img/icon/delete.gif" border="0" align="absmiddle" alt="">
                    关闭窗口</a>
        </div>
    </div>
    <fieldset id='mainField'>
        <div id="MasterTab">
            <a href="Detail.aspx?Id=<%=Id %>&qVID=1&qMby=9&qMID=278&sID=ID%3D676EF6A122004%26qMID%3D0%26qMby%3D0%26qWin%3D%26qVID%3D0"
                class='tablink'>流程名称</a><span class='tabnow'>流程定义表</span><a href='DetailShow.aspx?Id=<%=Id %>&qVID=2&qMby=9&qMID=278&sID=ID%3D676EF6A122004%26qMID%3D0%26qMby%3D0%26qWin%3D%26qVID%3D0'
                    class='tablink'>流程定义图</a></div>
        <br style='clear: both;'>
        <table id='dvTable'>
            <tr class='dvtr' id='vvTitle'>
                <td class='dvLtd'>
                    <asp:GridView ID="GridView1" runat="server" DataKeyNames="NID" AutoGenerateColumns="false"
                        Width="100%">
                        <Columns>
                            <asp:TemplateField ItemStyle-Width="30">
                                <ItemTemplate>
                                    <%#Container.DataItemIndex+1 %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:HyperLinkField HeaderText="标题" DataTextField="NNAME" DataNavigateUrlFields="NID"
                                DataNavigateUrlFormatString="DetailManage_Manage.aspx?NodeId={0}" />
                            <asp:TemplateField HeaderText="类型">
                                <ItemTemplate>
                                <%#Enterprise.Infrastructure.Utility.GetWorkFlowType((int)Eval("NTYPE")) %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="办理对象类型">
                                <ItemTemplate>
                                <%#Enterprise.Infrastructure.Utility.GetWorkFlowObjectType((int)Eval("NOBJECTTYPE")) %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="办理对象">
                                <ItemTemplate>
                                <%#GetUser((int)Eval("NOBJECTTYPE"), (int)Eval("NOBJECT"))%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField HeaderText="摘要说明" DataField="NREMARK" />
                            <asp:TemplateField HeaderText="操作">
                            <ItemTemplate>
                            <a href="DetailManage_Manage.aspx?NodeId=<%#Eval("NID") %>&Id=<%#Eval("WFID") %>&Cmd=Delete"><img src="../Common/img/icon/delete.gif" alt="" border="0" /></a>
                            </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
        </table>
    </fieldset>
</asp:Content>
